

import request from '@/utils/request'

// 授权登录接口
export function login(data) {
  return request({
    url: `/api/v1/middle/account/qywx/login?code=${data.code}&agentId=${data.agentId}`,
    method: 'post',
    // data
  })
}

// SERVICE_80301("80301","bkr/cmpln/empe/empeInfo/empelist.wlth","分支组织机构查询"),
// SERVICE_80302("80302","bkr/cmpln/empe/empeInfo/queryEmpeInfoList.wlth","员工画像（筛选）"),
// SERVICE_80303("80303","bkr/cmpln/empe/empePicture/selectPicture.wlth","员工画像（详情）"),
// SERVICE_80304("80304","bkr/cmpln/cases/qryFxfs.wlth","发现方式字典"),
// SERVICE_80305("80305","bkr/cmpln/cases/qryAboutBraAndOrg.wlth","分子公司字典"),
// SERVICE_80306("80306","bkr/cmpln/cases/prCmplnCaseSearch.wlth","合规案例（筛选/详情）"),
// SERVICE_80307("80307","bkr/cmpln/cases/prCmplnCaseStats.wlth","案例/员工维度统计（筛选/详情/撤销）"),
// SERVICE_80308("80308","bkr/cmpln/cases/prCmplnCaseStudy.wlth","非合规人员——合规管理（筛选/学习）"),
// SERVICE_80309("80309","bkr/cmpln/empe/citicsinrinst/queryMenu.wlth","员工菜单查询"),

export function getCaseData(data) {
  return request({
    url: '/api/v1/middle/account/qywx/wealth/service',
    method: 'post',
    data
  })
}
